from rest_framework.serializers import ModelSerializer
from .models import *

class Userser(ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"

class Newser(ModelSerializer):
    class Meta:
        model = News
        fields = "__all__"
